package controller

import "github.com/gin-gonic/gin"

type HelloController struct {
	
}

//路由设置
func (hello *HelloController) Router(engine *gin.Engine)  {
	engine.GET("/hello", hello.Hello)
}

//路由方法
func (hello *HelloController) Hello(c *gin.Context)  {
	c.String(200, "Hello World")
}
